
    use: 'ie.ondevice.objectkit.utility.apploader.AppInjector';
    
    AppInjector.BATCH_INJECT= 0;
    AppInjector.CLASS_INJECT= 1;
    
    AppInjector.inherit(Compiler).implement
    (  
        {
            inject: function (canonicalName) 
            {
                var sourceCode= this.compile(canonicalName);
                if (this.willBatchInject()) 
                {
                    evaluate(sourceCode);
                }
            }
            
        ,   transform: function (classFile) 
            {
                var javaScript= this.parent.transform.call(this, classFile);
                if (this.willBatchInject()) 
                {
                    return javaScript;
                }
                
                this.evaluate(javaScript);
            }
            
        ,   evaluate: function (javaScript) 
            {
                window.eval(javaScript);
            }
            
        ,   willBatchInject: function () 
            {
                return AppInjector.BATCH_INJECT === this.injectMode;
            }
            
        ,   setInjectMode: function (value) 
            {
                this.injectMode= value;
            }
        }
    );
    
    function AppInjector () 
    {
        
        this.setInjectMode(AppInjector.CLASS_INJECT);
    };
